package cn.cagurzhan.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体基类
 */
@Data
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 日志时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date logTime;

    /**
     * 操作者人员
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String logBy;

    @TableLogic
    private Integer delFlag;

}
